}
}
+ Button {
+ id: scrollToTopButton
+
+ anchors.bottom: parent.bottom
+ anchors.right: parent.right
+
+ hoverEnabled: true
+ padding: Style.smallSpacing
+
+ Accessible.role: Accessible.Button
+ Accessible.name: qsTr("Scroll to top")
+ Accessible.onPressAction: scrollToTopButton.clicked()
+
+ icon.source: "image://svgimage-custom-color/chevron-double-up.svg/" + palette.buttonText
+ icon.width: Style.activityListButtonIconSize
+ icon.height: Style.activityListButtonIconSize
+
+ onClicked: controlRoot.scrollToTop()
+
+ visible: !controlRoot.atYBeginning && controlRoot.contentHeight > controlRoot.height
+ }
+
Column {
id: placeholderColumn
width: parent.width * 0.8
<file>theme/send.svg</file>
<file>theme/call-notification.wav</file>
<file>theme/talk-app.svg</file>
+ <file>theme/chevron-double-up.svg</file>
</qresource>
</RCC>
--- /dev/null
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7.41,18.41L6,17L12,11L18,17L16.59,18.41L12,13.83L7.41,18.41M7.41,12.41L6,11L12,5L18,11L16.59,12.41L12,7.83L7.41,12.41Z" /></svg>
\ No newline at end of file